<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        alert('内嵌js')// 内嵌js
    </script>

    <script src="../js/jsStudy.js">//外部js
    </script>
</head>
<body>
    <input type="button" value="aaaa" onclick="alert('行内js')"><!--行内js-->

</body>
</html>